package com.huidu.bitrade.dao;

import java.util.List;

import com.huidu.bitrade.dao.base.BaseDao;
import com.huidu.bitrade.entity.RedEnvelope;

public interface RedEnvelopeDao extends BaseDao<RedEnvelope>{

	RedEnvelope findByEnvelopeNo(String envelopeNo);

	List<RedEnvelope> findAllByMemberId(Long memberId);

	List<RedEnvelope> findAllByState(int state);
}
